

/*------------------------------------------------------------------------------
	1. Housekeeping
------------------------------------------------------------------------------*/
	qui do ".../replication_package/housekeeping.do"

/*------------------------------------------------------------------------------
	2. Create Backup Data for Main Tables
------------------------------------------------------------------------------*/

	*Prepare backup data for Table 1: 
		do "${programs}/Tables/Table I꞉ Child Claim Rate By Year.do"

	*Prepare backup data for Table 2: 
		do "${programs}/Tables/Table II꞉ Imputed Child Claim Rate By Year.do"

/*------------------------------------------------------------------------------
	3. Create Backup Data for Appendix Tables
------------------------------------------------------------------------------*/

	*Prepare backup data for Table A.1: 
		do "${programs}/Tables/Table A.I: 2018 Form 1095 Coverage Rate By Age of Child.do"

	*Prepare backup data for Table A.2:
		do "${programs}/Tables/Table A.II: Child Claim Rate by State and Year.do"

	*Prepare backup data for Table A.3:
		do "${programs}/Tables/Table A.III: Child Claim Rate By Year and Medicaid Coverage.do"

/*------------------------------------------------------------------------------
	4. Export Main Figure PNG Files
------------------------------------------------------------------------------*/

	*Create Figure 1:
		do "${programs}/Figures/Figure_I_Child_Claim_Rate_Among_Timely_Filed_Returns.do"

	*Create Figure 2:
		do "${programs}/Figures/Figure_II_Child_Claim_Rate_By_Age.do"	

	*Create Figure 3: 
		do "${programs}/Figures/Figure_III_Child_Claim_Rate_By_State.do"

	*Create Figure 4:
		do "${programs}/Figures/Figure_IV_Child_Claim_Rate_By_Mothers_Income.do"
	
	*Create Figure 5:
		do "${programs}/Figures/Figure_V_Panel_A_Child_Claim_Rate_By_Neighborhood_Characteristics.do"
		do "${programs}/FiguresFigure_V_Panel_B_Child_Claim_Rate_By_Neighborhood_Characteristics.do"
	
	*Create Figure 6:
		do "${programs}/Figures/Figure_VI_Child_Claim_Rate_By_Neighborhood_Racial_Composition.do"
		
/*------------------------------------------------------------------------------
	4. Export Appendix Figure PNG Files
------------------------------------------------------------------------------*/

	*Create Figure A.1:
		do "${programs}/Figures/Figure_A.1_Child_Claim_Rate_by_Months_Without_Insurance.do"

	*Create Figure A.2:
		do "${programs}/FiguresFigure_A.2_Child_Claim_Rate_in_Surrounding_Years_for_Unclaimed_Children.do"

	*Create Figure A.3
		do "${programs}/FiguresFigure_A.3_Child_Claim_Rate_by_Age_with_Worst_Case_Bounds.do"

	*Create Figure A.4
		do "${programs}/FiguresFigure_A.4_Child_Claim_Rate_by_Age_for_2021.do"

	*Create Figure A.5
		do "${programs}/FiguresFigure_A.5_and_A.6_Self_Claiming_By_Age.do"

	*Create Figure A.7
		do "${programs}/FiguresFigure_A.7_Child_Claim_Rate_by_Total_Parental_Income.do"

	*Create Figure A.8
		do "${programs}/FiguresFigure_A.8_and_A9_Child_Claim_Rate_by_Income_in_2018_and_2021.do"
